---
title: MyScale
---

<Tip>
**Compatibility**

Only available on Node.js.
</Tip>

[MyScale](https://myscale.com/) is an emerging AI database that harmonizes the power of vector search and SQL analytics, providing a managed, efficient, and responsive experience.

## Setup

1. Launch a cluster through [MyScale's Web Console](https://console.myscale.com/). See [MyScale's official documentation](https://docs.myscale.com/en/quickstart/) for more information.
2. After launching a cluster, view your `Connection Details` from your cluster's `Actions` menu. You will need the host, port, username, and password.
3. Install the required Node.js peer dependency in your workspace.

import IntegrationInstallTooltip from '/snippets/javascript-integrations/integration-install-tooltip.mdx';

<IntegrationInstallTooltip/>

```bash npm
npm install -S @langchain/openai @clickhouse/client @langchain/community @langchain/core
```

## Index and Query Docs

import MyscaleFromtexts from "/snippets/javascript-integrations/examples/indexes/vector_stores/myscale_fromTexts.mdx";

<MyscaleFromtexts />

## Query Docs From an Existing Collection

import MyscaleSearch from "/snippets/javascript-integrations/examples/indexes/vector_stores/myscale_search.mdx";

<MyscaleSearch />

## Related

- Vector store [conceptual guide](/oss/concepts/#vectorstores)
- Vector store [how-to guides](/oss/how-to/#vectorstores)
